<?php
$this->load->view ( "static/header" );
$this->load->view ( "static/sidebar" ); 
?>
        <div class="right_col">
             	<div class="pic_slogan">
            	   <img src="<?=base_url()?>resources/images/folderThu/<?php print $vo->getCpyPhoto();?>" class="pic" />
                   <span> <?php print $vo->getCpyName();?> </span>		
                </div>
            <div class="com_info">
					<h1>Login Result</h1> 
						 <div class="entry">	
						   <p><?php echo $result; ?></p>
						   <p><span id="dd">5</span> ms,the page will turn to home page!</p>
						   <br />
						   <p>If the page do not response, please <a href="<?= base_url();?>">click here</a>
                         </div>
				</div>
				<br /><br />
        </div>
        
<?php
$this->load->view ( "static/footer" );
?>
<script type="text/javascript">
function run(){
	var s = document.getElementById("dd");
	if(s.innerHTML == 0){
		window.location.href='<?= base_url();?>';
		return false;
	}
	s.innerHTML = s.innerHTML * 1 - 1;
}
window.setInterval("run();", 1000);
</script>